package com.app.mvvmkotlindemo.bean

import com.contrarywind.interfaces.IPickerViewData

/**
 * Created by on 2021/1/30.
 * 天天挂线
 *  746608431@qq.com
 *  描述:TODO
 */

data class AreaAllBean(

    var id: Int,
    var name: String,
    var level: Int,
    var pid: Int,
    var cityList: List<City>
) : IPickerViewData {
    data class City(
        var id: Int,
        var name: String,
        var level: Int,
        var pid: Int
    )

    override fun getPickerViewText(): String {
        return name
    }
}
